package personal.xjl._23java2studentdemo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import personal.xjl._23java2studentdemo.model.Admin;

@Mapper
public interface AdminMapper {
    @Select("select * from admin where username=#{username} and password=#{password}")
    Admin selectByNameAndPwd(String username, String password);
}
